<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>

<!DOCTYPE html>
<!-- saved from url=(0037)http://192.168.0.77/pms/new_file.html -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="${basePath }/css/bootstrap.min.css">
</head>
<body class="body">
	
	<jsp:include page="include/top.jsp"></jsp:include>
	
	
	<div class="container">
	  <div class="row">
	    
	    <jsp:include page="include/side.jsp">
			<jsp:param value="folder" name="tag"/>
		</jsp:include>
		
		<div class="span9">
		<form class="form-horizontal" action="${basePath }/file/addFile" method="post" enctype="multipart/form-data">
	        <fieldset>
	          <legend>分享新文件</legend>
	          		<c:if test="${not empty documentFileName }">
  						<div class="alert alert-success">
				        <a class="close" data-dismiss="alert">×</a>
				        <strong>Ok</strong>文件${documentFileName }上传成功！.
				     </div>
  					</c:if>
	          <div class="control-group">
	            <label class="control-label" for="input01">文件名称</label>
	            <div class="controls">
	              <input type="hidden" name="id" value="${sessionScope.folder.id }">
	              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" name="file.f_name">
	            </div>
	          </div>
			  <div class="control-group">
	            <label class="control-label" for="input01"></label>
	            <div class="controls">
	              <input type="file" class="span5" id="input01" x-webkit-speech="undefined" name="document">
	            </div>
	          </div>
	
	          <div class="form-actions">
	            <button type="submit" class="btn btn-primary">保存</button>
	            <a href="${basePath }/file/toFile?id=${sessionScope.folder.id}"><input type="button" class="btn" value="返回"/></a>
	          </div>
	        </fieldset>
        </form>          
          	
		</div>
		<div class="span3">
			
		</div>
	  </div>
	</div>

</body></html>
